package com.example.newproject_overseas.model.service

import com.example.newproject_overseas.model.Network
import com.example.newproject_overseas.model.entity.WreakRequestModel
import com.example.newproject_overseas.model.entity.WreakResponseModel
import retrofit2.http.Body
import retrofit2.http.POST

interface MisanthropeService {


    @POST("misanthrope/wreak")
    suspend fun postWreakRequest(@Body requestModel: WreakRequestModel):WreakResponseModel

    companion object{
        fun instance(): MisanthropeService{
            return Network.createService(MisanthropeService::class.java)
        }
    }


}